package com.wa.listener.annotation;

import com.wa.listener.recommend.EventBean;
import lombok.Data;

/**
 * 不实现也可以监听
 */
@Data
public class MyEvent2 /*extends ApplicationEvent */ {
    private EventBean eventBean;

    public MyEvent2(EventBean source) {
//        super(source);
        this.eventBean = source;
    }
}